package com.xixiake.net.record;

import com.android.volley.Request;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import com.xixiake.net.BaseInput;
import com.xixiake.net.InputKey;

/**
 * Created by c-wanghengli on 2017/6/3.
 */
public class RegisterPinCodeRecord {

    public static class Input extends BaseInput<RegisterPinCodeRecord>{

        protected Input() {
            super("?c=Auth&a=api_verify_code", Request.Method.POST, RegisterPinCodeRecord.class);
        }

        @InputKey(name = "phoneno")
        private String phoneno;

        @InputKey(name = "vcode")
        private String vcode;

        @InputKey(name = "scene")
        private int scene;

        public static BaseInput<RegisterPinCodeRecord> buildInput(String phoneno,String vcode,int scene){
            Input input = new Input();
            input.phoneno = phoneno;
            input.vcode = vcode;
            input.scene = scene;
            return input;
        }

    }

    @Expose
    @SerializedName(value = "errorCode")
    public int errorCode;

    @Expose
    @SerializedName(value = "errorMsg")
    public String errorMsg;

    @Expose
    @SerializedName(value = "data")
    public Info data;

    public static class Info {}

}
